package com.yufubao.service.service.management.check;

import com.yufubao.framework.result.ResponseResult;
import com.yufubao.model.dto.management.check.MerchantApplicationDto;

import java.util.Map;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/9/5 23:07
 */
public interface CheckService {

    /**
     * @description 用户申请商户成功
     * @param dto
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/8/29 23:31
     */
    ResponseResult merchantApplicationSuccess(MerchantApplicationDto dto);

    /**
     * @description 用户申请商户失败
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/8/29 23:36
     */
    ResponseResult merchantApplicationFila(MerchantApplicationDto dto);

    /**
     * @description 分页查询审核成功/待审核/审核失败的基本信息
     * @param params
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/15 16:16
     */
    ResponseResult searchAllStatusInfo(Map<String, Object> params);

    /**
     * @description 根据id查询,待审核
     * @param supplierInfoId
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/17 22:31
     */
    ResponseResult searchWaitPass(Long supplierInfoId);



}
